Runs a command that returns a value asynchronously.
public void RunAsync(
DocumentViewerAsyncOperation<object> operation,
string commandName
)
Public Sub RunAsync(
ByVal operation As DocumentViewerAsyncOperation(Of Object),
ByVal commandName As String
)
public:
void RunAsync(
DocumentViewerAsyncOperation<Object^>^ operation,
String^ commandName
)
operation
Asynchronous operation data to use.
commandName
Command name
This method works by using the thread pool to queue Run(commandName, value), then invoking Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end on either case.
The result of running the command RunHandler will be in Result
Refer to Document Viewer Commands for more information.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET